Xbasic

A5_REPLACE_PARAMETERS_MULTI Function

Syntax

Output_Expression as C = a5_replace_parameters_multi(C filter ,P vars )

Arguments

filter

An Xbasic expression.

vars

Pointer to the frame where the variables exist.

Description

Used to substitute parameters in an expression, such as a filter.

Discussion

A5_REPLACE_PARAMETERS_MULTI() is useful when you want to substitute parameters (i.e. variables) into an expression, such as a filter expression. Variable_Frame is a pointer to the variable frame in which the variables that are to be substituted have been defined. In most situations, Variable_Frame will be set to LOCAL_VARIABLES(). Note : LOCAL_VARIABLES()is the function that returns a pointer to the local variable frame. The parameters in the expression must be enclosed in square brackets ( ) and are preceded with varCmulti->, varNmulti->, or varDmulti->, depending on the type of the variable.

See Also